import time
 
# 获得当前时间时间戳
now = int(time.time())
#转换为其他日期格式,如:"%Y-%m-%d %H:%M:%S"
timeArray = time.localtime(now)
otherStyleTime = time.strftime("%Y-%m-%d", timeArray)
print(otherStyleTime)


            '''多线程消息提示
            msgtimer=threading.Thread(target=msgfun_timer,args=(d_num))
            msgtimer.daemon = True
            msgtimer.start()#气泡提示
            '''

data = resget.text
data = json.loads(data)
bjvar.set(JK_ST+str(data['total']))

{"userType":"1","userId":"33097","EMPLOYEE_NO":"B43000510861","userCode":"13974810178","groupCode":"GMS006","isfalse":"true"}